using System;
using System.Collections.Generic;
using System.Linq;

namespace Pharmacy.Data.Core
{
    public class PessimisticLockingException : Exception
    {
        public PessimisticLockingException(string msg, IEnumerable<LockingInfo> lockData)
            : base(msg)
        {
            LockDataInfo = lockData;
        }
        public IEnumerable<LockingInfo> LockDataInfo { get; private set; }
    }
}
